#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2024/4/24 13:06
# @File    : Tasks.py
# @Description : -i http://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn
import pandas as pd
from pandas import DataFrame
from tk_dev.buy6.thread_check import MyThread
import sqlite3

sqlite3.connect()


class Task:

    def __init__(self, data: DataFrame, batch=5):

        self.data = data
        self.batch = batch
        self.task = []

    def start(self):
        """ """










if __name__ == '__main__':

    data = DataFrame([
        [1, 2, 0, ""],
        [2, 2, 0, ""],
        [3, 2, 0, ""],
        [4, 2, 0, ""],
        [5, 2, 0, ""],
    ],columns=['编号', 'thread', 'status', 'step'])
    tk = Task(data, 5)

